package com.ltmonitor.vo;

import com.ltmonitor.util.DateUtil;

import java.io.Serializable;
import java.util.Date;
/**
 * 通过JMS 发送给视频服务器的视频请求消息
 */
public class VideoRequestMessage implements Serializable {

    public static String COMMAND_PLAY = "play";

    public static String COMMAND_STOP = "stop";

    private int  mediaType;

    private long userId;

    private String simNo;

    private int channelId;

    private String command;

    private String createDate;


    public  VideoRequestMessage()
    {
        createDate = DateUtil.toStringByFormat(new Date(), "yyyy-MM-dd HH:mm");
        command = COMMAND_PLAY;
    }


    public String getSimNo() {
        return simNo;
    }

    public void setSimNo(String simNo) {
        this.simNo = simNo;
    }

    public int getChannelId() {
        return channelId;
    }

    public void setChannelId(int channelId) {
        this.channelId = channelId;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public int getMediaType() {
        return mediaType;
    }

    public void setMediaType(int mediaType) {
        this.mediaType = mediaType;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }
}
